package com.rhs.service;

import com.rhs.domain.User;

import java.util.List;

public interface UserService {

    //查询用户
    List<User> selectAll();
    //多条件删除
    List<User> selectByWhere(User user);
    //一次删除多个
    void deleteByIds(int[] ids);
    void insert(User user);
    void delete(int uid);
    //根据id查询一个
    User selectById(int uid);
    //修改
    void update (User user);
}
